package com.bsh.service;

import com.alibaba.fastjson.JSONObject;
import com.bsh.api.Exception.ApiException;
import com.bsh.utils.ApiMessage;

public interface ApiCloudService {
	
	/**
	 * 商币赠送
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  sendCloudMoney(JSONObject dto) throws ApiException;
	
	
	
	/**
	 * 分享增加商币
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  addCloudMoney(JSONObject dto) throws ApiException;
	
	
	

	/**
	 * 购买商币
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  buyCloudMoney(JSONObject dto) throws ApiException;
	
	
	/**
	 * 能否购买商币
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  isBuyCloudMoney(JSONObject dto) throws ApiException;
	
	
	/**
	 * 能否商币兑换期权
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  isCloudToShares(JSONObject dto) throws ApiException;
	
	
	/**
	 * 商币兑换期权
	 * @param dto
	 * @return
	 * @throws ApiException
	 */
	ApiMessage  cloudToShares(JSONObject dto) throws ApiException;


}
